Crate ui_test

source ·
Expand description

A crate to run the Rust compiler (or other binaries) and test their command line output.

Re-exports

Modules

Structs

  • Central datastructure containing all information to run the tests.
  • The command line program that builds dependencies. Currently really only supports cargo-like things.

Enums

  • A filter’s match rule.
  • Decides what is expected of each test’s exit status.
  • The different options for what to do when stdout/stderr files differ from the actual output.

Functions

  • Run a single file, with the settings from the config argument. Ignores various settings from Config that relate to finding test files.
  • Run all tests as described in the config argument.
  • A version of run_tests that allows more fine-grained control over running tests.

Type Definitions

  • Replacements to apply to output files.